﻿<UserControl x:Class="ucConfigReport"
     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
            <RowDefinition Height="auto"></RowDefinition>
            
        </Grid.RowDefinitions>
        <GroupBox Header="Report file location" Grid.Row="0" Margin="5">
            
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="auto"></ColumnDefinition>
                        <ColumnDefinition Width="auto"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    <TextBox Grid.Column="0" Width="250" Name="textboxReportFilesLocation" Margin="5" IsReadOnly="True" ></TextBox>
                    <Button Grid.Column="1" Name="buttonBrowseReport" Margin="5" Width="100">Browse</Button>
                </Grid>
            </GroupBox>
        <GroupBox Header="Report Paremeters" Grid.Row="1" Margin="5">

            <Grid HorizontalAlignment="Left">
                <Grid.RowDefinitions>
                    <RowDefinition Height="auto"></RowDefinition>
                    <RowDefinition Height="auto"></RowDefinition>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                    <ColumnDefinition Width="auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Label Grid.Column="0" HorizontalAlignment="Right" Name="LabelHeader" Margin="5" >Header</Label>
                <TextBox Grid.Column="1" Width="250" Name="textboxReportHeaderCompany" Margin="5"  ></TextBox>
                <Label Grid.Column="0" Grid.Row="1" HorizontalAlignment="Right" Name="Label1" Margin="5" >Show Amounts</Label>
                <CheckBox Grid.Column="1" Grid.Row="1" Margin="5" Name="CheckBoxShowAmount" VerticalAlignment="Center"></CheckBox>
            </Grid>
        </GroupBox>

        <StackPanel Grid.Row="2" Margin="5" Orientation="Horizontal" >
            <Button Name="buttonSave" Width="100" HorizontalAlignment="Left" Margin="1,2,1,2">Save
            </Button>
            <Button Name="buttonCancel" Width="100" HorizontalAlignment="Left" Margin="1,2,1,2">Cancel
            </Button>
        </StackPanel>
    </Grid>
</UserControl>
